package www.ld.com.domain.post.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import www.ld.com.dictionary.UseStatusEnum;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@ToString
@EqualsAndHashCode
@ApiModel(value = "PostVO",description = "岗位列表")
public class PostVO   {
    @ApiModelProperty(value = "岗位ID")
    private String id;
    @ApiModelProperty(value = "岗位名称")
    private String name;
    @ApiModelProperty(value = "岗位编码")
    private String code;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createDate;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "状态")
    private UseStatusEnum status;
}
